<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .box1{width: 200px;  height: 300px;
        float: left;
            background-color:moccasin;}
        .box2{width: 200px;  height: 100px;
            float: left;
        background-color: #00ee11}
        .box3{width: 200px;  height: 200px;
            float: left; background-color: cyan}
    </style>
</head>
<body>
<!--浮动性质2
浮动的元素 会 互相贴靠在一起-->
<div class="box1"></div>
<div class="box2"></div>
<div class="box3"></div>
</body>
</html>